package com.exam.serviceImpl;


import com.exam.mapper.PaperMapper;
import com.exam.pojo.ApiResult;
import com.exam.pojo.PaperManage;
import com.exam.service.PaperService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PaperServiceImpl implements PaperService {
    @Autowired
    private PaperMapper paperMapper;

    @Override
    public List<PaperManage> findAll() {
        return paperMapper.findAll();
    }

    @Override
    public int add(PaperManage paperManage) {
        return paperMapper.add(paperManage);
    }
}
